#include<stdio.h>
#include<math.h>

int main(void)
{
	double x1,y1,r1,x2,y2,r2,minr,maxr;
	scanf("%lf%lf%lf\n%lf%lf%lf",&x1,&y1,&r1,&x2,&y2,&r2);
	if(r1<r2)
	{
		minr=r1;
		maxr=r2;
	}
	else
	{
		minr=r2;
		maxr=r1;
	}
	if(sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))>(r1+r2))
	{
		printf("No");
	}
	else if(sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))+minr<maxr)
	{
		printf("No");
	}
	else
	{
		printf("Yes");
	}
	
	return 0;
}
